# min()函数的实现


def min_func_achieve(x):
    least = x[0]
    for each in least:
        if each < least:
            least = each
    return least


if __name__ == "__main__":
    print(min_func_achieve(['A', 'B', 'a', 'b']))